package com.woniuxy.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.woniuxy.entity.Store_House;
import com.woniuxy.service.Store_HouseService;

@RestController //所有数据默认以json返回
@RequestMapping("/storehouse")
public class Store_HouseController {
	@Autowired
	private Store_HouseService store_HouseService;
	
	@GetMapping("find")
	public List<Store_House> findStore_House(){
		return store_HouseService.findStore_House();
	}
}
